Make the transport method of the socket variable.
Merged the changes of igorw to the SocketClient
Merge remote-tracking branch 'robinvdvleuten/socket-client' into socket-client

* robinvdvleuten/socket-client:
  Make the transport method of the socket variable.