Fixed undefined reference
Add basic server sockets