Allowing HEAD request

To make `curl -I http://127.0.0.1:5000` work
Merge pull request #2 from QBitFramework/allow_head_request

Allowing HEAD request