Moved http method enforcer into own package