php://input can only be read once.
 @see https://bugs.php.net/bug.php?id=51592