Request is not attempted if .getToken() returns undefined.
Merge pull request #23 from Retsly/switters/23

retsly-js-sdk attempting requests when no token set - 401s inevitable