serf: update to 1.3.1 and add an important dylib patch

See also: https://github.com/mxcl/homebrew/pull/21427