'Called when the handler is ready to send a response back to the remote
endpoint. A websocket connection may have not been created.'

def start_response(self, status, headers, exc_info=None):

    writer = super(WebSocketHandler, self).start_response(status, headers, exc_info=exc_info)
    self._prepare_response()
    return writer
