[api] allow strictSSL and maxSockets to be global

This allows strictSSL and maxSockets options to be passed into the constructor of the api client in question. This also sets maxSockets to have a more reasonable default.