Skeleton for testing Client
Forward parser Exception as a Client error (closes #4)
Fix reporting Parser Exceptions for PHP 5.3
Fix error reporting and closing connection