btsocket: Make btsocket compatible with Python 2 and 3 Make btsocket compatible with Python 2 and 3 BUG=b:148751927 TEST=Import btsocket successfully in python3 on ChromeOS. Change-Id: I7c14664089891e86aa7108180d11cd485efa5214