Fixed ssl protocol error