Adds a filesockethandler plus listener interface to the client.