fix mac installation issues

* add pyOpenSSL to requirements;
* use psutil for get_num_fds;
* handle cases when RLIMIT_NOFILE can't be increased to hard maximum

This PR adds psutil to requirements. What do you think about using it instead of stdlib's resources module for other things as well?