Fixed TLS Mac calculation.
Added socket-info to socket library.
Added path-basename to file util.