#257 Implemented scheme for the context object

See #257 for more info

I didn't add any unit tests for it since it completely delegates all the work for the servletrequest