Added initial client/server socket functionality