hjp.py: can establish a connection and return some data