A basic isomorphic Javascript interface around HTTP requests