converted to connect to remote boss over http