Added an option to set the servername instead of it defaulting to the server hostname.
Simplify.
Merge pull request #4 from scottso/fix_server_name_redirect

Added an option to set the servername