Set socket reuse option before bind call instead of after.
Add Listen and Accept to class Socket. Basic server setup.