The bridge is using https with a certificate signed for localback.net. Use a session object (self.conn) to keep connection alive and prevent costly ssl handshakes for every call.
use error field from trezord