minor refactoring

exposed websocketDidDie HTTPServer method.

added method to WebSocket which skips string decoding and sends raw data