Modified net.connect to make it a bit more robust (can handle some different pre/post types)

Changed hpes_termination.py to return the two newly created terminations