Service.Port type corrected
ReverseBytes() replaced with htons() / ntohs()
Updated