Fixed handle_close.
Fixed HTTPS/CONNECT method handler.
Small changed.