handle dev envs correctly, closes #359
skip cookies tests until we remove all globals
Merge pull request #365 from segmentio/fix/support-dev-envs

handle dev envs correctly, closes #359