Bugfix for HTTP methods longer than 4 characters