PromyLOPh/pianobar — pull request #438 by KenMacD (2014-04-03 18:36:57+00:00)
Title: Fix traffic to allow proxying.

When proxying pianobar the TLS connection doesn't specify a server_name. This means one IP can't be used to proxy multiple services. Instead include the server_name extension.

Also sniproxy had issues with fragmented packets. They've since been fixed but to me it still makes sense to include the Host header in the first packet sent.

I've tested this change locally for the last couple months with no issues.