Adding changes to HttpHelper

- Using empty() instead of != null as its faster ()
- Checking if class property exists before using it to prevent PHP
Notices
- Docs
- Commented out switch cases that have no logic, now they are defaulting