Revert "Merge pull request #618 from uProxy/mling-sanitize-inputs"

This reverts commit e78317fe17103a7ea434b50f0a0ff88d751e4498, reversing
changes made to 242a7e3d6e6701a06d0739a913aac7032442e82e.

This was breaking dev.
Original bug: #443
Related: #668, https://github.com/uProxy/uproxy/pull/669