- fixed #32 Keepalive / ping ?
- fixed #42
- fixed #38
  - show error log if a error occurs.
- refs #38
  - print stacktrace if the logging level is debug
- fixed #42
merge from trunk