HTTPS decoding, SSL decryption
===

I have a scenario where a TcpListner act as proxy between client and server. The proxy need to log all internet traffic. SSL encrypt all the html stuff. 

Can i grab somehow the key from the stream to the decrypt the ssl stuff ? 
If not, i can act as a ssl server. But where is the entry point. When the
server tell the client to use ssl ? I can not even see the html text just the headers
by encoding the stream from server to ascii.