Added the socket domain to the constructor parameters
Minor syntax change
Revert "Minor syntax change"

This reverts commit 52126f5ec12dc2724764b29344fa57cb9afd68c9.
Moved hostname resolving into a seperate method for better reusability
Use constructor instead of assignment
Added a BindException type
Added missing Unix-build-inclusion of netdb.h
Removed unused optional includes
Added and implemented the ServerSocket class