[#4] Fixed authentication issue (updated user-agent, fixed "Origin" header on websocket handshake)