allow to customize from field
sync with upstream
Merge pull request #2 from worg/master

make `from` value customizable