Fix stty parsing on HP/UX

A user reported a problem running Apache ServiceMix on HP/UX, cfr. https://issues.apache.org/jira/browse/SM-2300.  The root cause there seems to be a problem in parsing the output of {{stty -a}} on HP/UX.  This pull request adds a test for HP/UX {{stty -a}} output which reproduces this problem and also includes the fix required to get this working.