update WebSocketServer constructor, fix ShouldStart-test