cleaned up return statements

Explicitly say what should be returned (no named return values).
create a HTTP client using the SSH connection

This allows execution of HTTP requests on the remote side, for example to reach
services not bound to the public interface.