fixes bug where upgrade request would get tripped up on multiple connection header values