Implement preliminary support for Form POST

Fixes #349