Basic functionality with sockets working