Basically implemented http proxy
Refactor: move authCode from method var to class instance; proxy as an instance, too.