Fix AFP crash, bump version
Merge pull request #1141 from tresf/stable-1.1

Fix AFP crash, bump version

Tested by @DeRobyJ, merging.