fix a crash problem when a request without a user-agent header; according by user-agent module in tengine