Update PTP

1. Update PTP code, now we can establish the connection and the
heartbeat frames work well.