fix bug regarding that opening statuscode 220 was not handled correctly