tcp: make progress sends more thread safe

Add lock around progress_queued
Add ep_locked flag to progress_conn_sends() to indicate if the
caller is holding the ep->lock.
Use the appropriate put tx call.