Author of ‘DIY terrorism’ book may get bail