Wraps javas built in server socket