Add back preference of SERVER_NAME over HTTP_HOST.
Merge pull request #257 from shadlaws/server_name_http_host

Add back preference of SERVER_NAME over HTTP_HOST.