How to load a socket server with a function that deals with HTTP request and send a request from WAS to the socket server by HTTP.
was_to_socket_server_communication_2.png

For this, there is a way that uses Microsoft REST SDK in a socket server.