Gets the underlying Socket object of the connection.
This can be useful if you want to do something unusual on it not supported by the SocketConnection APIs.
a SocketConnection
a Socket or null on error.