Cleaned up test pingpong code
plain_mechanism now uses options.as_server
- we need to switch to PLAIN according to options.mechanism
- we need to catch case when both peers are as-server (or neither is)
- and to use username/password from options, for client
Disable failing test for now
Merge pull request #557 from hintjens/master

Added as_server to options