bug fixes for rlp encoding, write queing, static cast protocol w/service.