Connect to controller, add detailed error logging

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>