Fixed "response headers not sent yet"

Also, fixed canDo check on RoadBuildingCommand