public static extern uint WinHttpWebSocketReceive( SafeWinHttpHandle webSocketHandle, IntPtr buffer, uint bufferLength, out uint bytesRead, out WINHTTP_WEB_SOCKET_BUFFER_TYPE bufferType);
public static extern uint WinHttpWebSocketSend( SafeWinHttpHandle webSocketHandle, WINHTTP_WEB_SOCKET_BUFFER_TYPE bufferType, IntPtr buffer, uint bufferLength);