debug connection layer

See GitHub Issue #72

Signed-off-by: Erik Bernoth <erik.bernoth@gmail.com>