Extended HTTP functionality

Added support for retrieving form/url values
Added support for marking a response as 'closed'
Added support for returning a common error format