Fixed raw HTTP requests for IPv6, ticket #27