Moved the Protocol enum to Http class
Eliminated warnings