altered request check for agent to allow agent to equal false
fixed != to !==
Merge pull request #122 from grahamjenson/v1

Altered request check for agent to allow agent to equal false