Bugfixes in AS2Utils

Lets the ad from #471 get slightly further
Merge pull request #911 from tschneidereit/master

Bugfixes in AS2Utils