default API_DOMAIN to 10.0.2.2 (refers to the localhost from emulator), add port to the api path

changes to make SDK work for local development with emulator. Folks who prefer testing with real device or remote server will have to change configuration.
default API_DOMAIN to 10.0.2.2 (refers to the localhost from emulator), add port to the api path