Along with refactoring this change contains a number of critical fixes for
WebSocket. Critical fixes are applied to Receiver and OpeningHandshake.
Also this change removes 2 convenience methods and 1 constant from WebSocket
interface. Since this interface is a part of incubation feature there shouldn't
be any problem. Those members were initially controversial.