SSL vars changed
int -> sock_t