added support for ssl parsing