Register an object to service data transfers to this stream.
If a handler is already registered when
setTransferHandler
is called,
the handler is replaced;
there can only be one handler at a time. This method should be
invoked with a parameter value of null
if the currently
registered handler doesn't wish to be notified of available data anymore.