Added `join` function

Signed-off-by: Nicolas Williams <nico@cryptonector.com>