Add optional response_time metric in tcp and http checks

Also remove trailing spaces