expose connect method

Signed-off-by: Hendrik Beskow <hendrik@beskow.de>