Added secure option to HTTP
HTTP and co. are now functions, not objects