Fixed typo in port config and added server address configuration option
Added method for creating the server endpoint (address + port)