Copy buffer from old instance on new one

Allow to don't miss any message while swapping the websocket-stream instances in a transparent way for the user.