tests and implementation for uri and http-version of a request
validations for invalid http-request