Fix compiler warning
Send the server_name extension.

Required by sniproxy when forwarding the connection.
Send headers in first packet.

Splitting up the writes causes the Host header to end up in a
different packet than the requst line, making it harder to proxy.