Removed a few useless bits
Added a read function with a timeout option
Implemented an URL decode function
Added an hidden input utility function