Moved SocketHandler to a seperate package.