Local specs without the use of websites.

Fixes this issue: https://github.com/kaspernj/http2/issues/10

Fixed content-length calculation even if no header is given.
Also redirecting for 303 response code.
Fixes crash when redirecting when port is given (because host-variable was corrupted).