Added missing type cast in exception handlers for communication errors (Closes #39)
Merge pull request #40 from tuxpoldo/master

Added missing type cast in exception handlers for communication errors (...