Beside some bugfixes, this adds multi-connection support. Signed-off-by: Michael Heimpold <mhei@heimpold.de>