Fix bad locking in SpdyConnection

This caused an assertion error in SpdyStream#setSettings
where we assert that the lock on the associated
SpdyConnection is held.