logic fixes with ssl_pending and read_blocked
basic code to distinguish message body from request header