Add check for if the user already specifies http?s

Adds a check for if the use already adds http/https and allows for user to explicitly specify https instead of relying on redirects.
Fix for space/special characters in url

Added a fix for special characters/space in url for Issue #1 in jph/ubersmith-api. rawurlencode was chosen over urlencode because I am not sure if + is allowed to represent space in all situations and it conforms to RFC3986 which should be supported in all situations.
Changed $api_ip to $api_addr
Changed default protocol from http to https
Merge branch 'master' of https://github.com/hi117/ubersmith-api into hi117-master

Conflicts:
	ubersmith.php