ntohs/htons bug fix
Merge remote-tracking branch 'origin/master'
more debug prints