Stubbing a bit so in future I can allow command line specification of key and cert, added some better URL handling