fixed documentation comment
refactored http route matcher