Add HTTP-awareness to server.py
demos/server.py fixes
Removed unused import
Merge pull request #22 from joar/server-improvements

Server improvements