Remove function not present in the twisted version currently deployed

Remove dependency of function: intToBytes, which is present in a more recent version of twisted