added http based repl
added basic security to the http based repl