make api_url as configurable

hereby it is able to:
1. refer to different api urls (beta | api)
2. opt for protocol less urls to work with ssl connection
Version bump to 0.3.6
Merge branch 'custom-api-url'