Updated WebsiteAgent to receive events
Added http/s check and cleaned up receive code
Merge pull request #250 from afro88/website_agent_receive

Updated WebsiteAgent to receive events