Add configurability options. Fix OSX error. Add SSL cert capabilities.