Fix handling of long PSK identities

fixes #238
3 files changed