redesign api, now takes host as path parameter == dynamic connections