New constructor to be able to bind the server to a given port on a specified address.
Clean up and fix unit tests