Update gitignore

adding *.orig and *.exe to gitignore
Bugfix: handle_local_input

The strlen of the line should be set into len not added to len
Bugfix: decoder.c

decode_header: free temp after using it
write_pdu: fix problems with pdulen (problems with \0)