Update WebSocketImpl.java

The Base64 add a newline character to the encoded string. With the extra newline mark the header will be invalid and it cause "Bad request".