Added some initial TLS-parsing stuff.
Most of TLS done, some kind of crazy error connecting to upstream