Fixed some bugs and can now connect to servers through the client itself
(only localhost at the moment) and chat