Option length and delta calculation when > 13

I've revised your code for calculating the option length and delta value in the case that they are *> 13* or *> 269*, as is described in the draft specification section 3.1. Haven't done exhaustive testing, but it works with libcoap given an option with *13 < len < 269*.