start refactoring to allow builder to connect to webapp via ssh tunnel

Introduced ISocket interface as abstraction of connection
from builder to webapp.
implementation of ssh tunneling for builder->webapp connection