[PAXEXAM-546] Honor port offset.

Also for JBoss AS 7.1. Added tests for 7.1, 7.2 and 8.0.