Sockets and news/updates

Fixed a lot of the socket code
Adding some small bits for checking for updates and for news