Fix for issue #82

This PR fixes the issues #82 and #83. I used @kmike tests (e41f78df4fb53b687c58fcde17c7e4d03836a580) to validate them.

Note that I am adding a SplashRequest class that inherits from twisted.web.server.Request. This is currently used to differentiate a Proxy request from a normal request.