Refactor HttpServer.start_listening() to be DRY; change the join method on the request to not insert extra spaces.