Fixed two null deref in pico_tcp