Server socket implementation and lots more :D