some refactor for HTTPBinding protocols

  - created a base class for HTTPBinding protocols
  - made each protocol extend that base
  - moved check http_host logit to an util
  - added tests for invalid host connections