Added a sanity check around possible invalid timestamps
Made sure PHPUnit looks in the right vendor directory
Fixed encoding handling. But unfortunately it's the broken RFC1738 standard