Added support and tests for reading octet data