sockfilt.c: free memory in case of memory allocation errors
sockfilt.c: ignore non-key-events and continue waiting for input
sockfilt.c: properly handle disk files, pipes and character input
build: Fixed output name for Release builds in VC10 and VC11
configure: fix wrong comment

copy and paste error