Rename Listener to SocketClient; features...

Added some features to Listener/SocketClient which were previously
handled by MainPage.