Output WEBrick::Utils.getservername to test this method on heroku