Move raise of invalid binary exception to send method