Improve commenting.
Separate request-login and request-gateway logic.
Change 'tokens' in API to 'login-tokens'.
Add comment.
Rename 'token' to 'login-token' for clarity on client side.
Print API request options to console.
Get 'request_gateway' logic to succeed.
Update console message.
Fix indentation.
Add comment.
Shorten variable name.
Send a message to gateway to be relayed.
Prep. for relaying messages through gateway.
Connect gateway server to login server, but error.
Don't worry about relaying messages for now.