support for custom http method
fix memory leak
deterministic initial state
prevent memory overflow if input is too long