This port has been stuck on an ancient, non-SSL-capable version for seveal years. Please consider updating to a more recent upstream source.
The attached files are offered as a starting point; some "adjustment" is probably needed. Note that what's below completely replaces the previous port; all previous patches are no longer valid. Also, I've added "net" to the CATEGORIES, along with a link to the official web page in the package description.
The compilation produces one "warning: assignment from incompatible pointer type"; this deserves further investigation (particularly for 64-bit builds).
Since I do not have access to the requisite legacy systems, I am unable to properly test this software (particularly the SSL aspects).
Dear maintainer, please review the proposed patch!
Forwarded PR to maintainer