Fixed address/port stuff
Merge pull request #108 from xenog/endianness

Fixed address/port stuff