Fix to allow Console Requests

Checking the type of Request, and only checking headers for a HTTP
Request. This allows Console Requests to work.
Merge pull request #5 from levofski/console

Fix to allow Console Requests