SimpleFilter is a project mainly written in OBJECTIVE-C and C, it's free.
Cocoa sample
404: Not Found