Origin syntax fix

I don't know why SocketRocket is even setting the Origin header, but if it does, it should at least use the correct [syntax](http://tools.ietf.org/html/rfc6454#page-12), so servers don't throw errors when parsing it.

This pull request:

  - omits the trailing slash
  - omits port iff it's the default for the scheme.