added SSL support to API client module
introduced production settings