[PATCH] socklen_t needs to be defined and libssl to be linked on old Mac OS X