Replace HTTP Method for Socket