Support for subnet mask necessary for android