Made http/https configurable
Merge pull request #18 from square/jeversmann/protocol_setting

Made http/https configurable in development and production