stupid typo bug in utilities.py, REMOTE_HOST not HTTP_HOST... :P