Converted context into WebContext, based on mocking servlet API structures.
Fixed line feeds.